<style>
<!--
td
{
text-align:center;
}
-->
</style>
<form name='adminForm' action='index.php?option=com_svquanlycanbo&view=phongban' method='post'>
	<input type='hidden' name='task' />
	<input type="hidden" name="boxchecked" value="0" />
	<div id="editcell">
		<table class='adminlist'>
			<thead>
				<tr>
					<th width="50">#</th>
					<th width="50"><input type="checkbox" name="toggle" value="" onclick="checkAll(10);"></th>
					<th width="150">Tên</th>
					<th width="150">Đơn vị quản lý</th>
					<th width="150">Địa chỉ</th>
					<th width="120">Số điện thoại</th>
					<th width="120">Email</th>
					<th width="50">ID</th>
				</tr>
			</thead>
			<tbody>
				<?php 
					$i=0;
					$k=0;
					foreach($this->dataObject as $record)
					{
						$checked     = JHTML::_('grid.id',   $k , $record->pb_id);
						$k=$k+1;
						echo '<tr class="row'.$i.'">';
							echo '<td width="50">'.$k.'</td>';
							echo '<td width="50">'.$checked.'</td>';
							echo '<td width="150">'.$record->pb_ten.'</td>';
							echo '<td width="150"><a href="index.php?option=com_svquanlycanbo&view=donviquanly&iddonvi='.$record->pb_iddonviquanly.'">'.$record->dvql_ten.'</a></td>';
							echo '<td width="150">'.$record->pb_diachi.'</td>';
							echo '<td width="120">'.$record->pb_dienthoai.'</td>';
							echo '<td width="120">'.$record->pb_email.'</td>';
							echo '<td width="50">'.$record->pb_id.'</td>';
						echo '</tr>';
						$i=1-$i;	
					}

				?>
			</tbody>
		</table>
	</div>
</form>